//
//  SLLockDetailView.h
//  SlockApp
//
//  Created by 凯朱 on 2024/7/25.
//

#import <UIKit/UIKit.h>
#import <SlockApp-Swift.h>
NS_ASSUME_NONNULL_BEGIN

@interface SLLockDetailView : UIView
@property (weak, nonatomic) IBOutlet UIView *bgView;
@property (weak, nonatomic) IBOutlet UIImageView *lockTypeIcon;
@property (weak, nonatomic) IBOutlet UIImageView *lockIcon;
@property (weak, nonatomic) IBOutlet UILabel *batteryLbl;
@property (weak, nonatomic) IBOutlet UILabel *temptureLbl;
@property (weak, nonatomic) IBOutlet ZKBaseButton *unlockBtn;
@property (weak, nonatomic) IBOutlet ZKBaseButton *syscBtn;
@property (weak, nonatomic) IBOutlet UIView *listBgView;
@property (weak, nonatomic) IBOutlet UIView *listView1;
@property (weak, nonatomic) IBOutlet UILabel *listLbl1;
@property (weak, nonatomic) IBOutlet UIView *listView2;
@property (weak, nonatomic) IBOutlet UILabel *listLbl2;
@property (weak, nonatomic) IBOutlet UIView *listLine2;
@property (weak, nonatomic) IBOutlet UIView *listView3;
@property (weak, nonatomic) IBOutlet UILabel *listLbl3;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bgView3Height;
@property (weak, nonatomic) IBOutlet UIImageView *icon1;
@property (weak, nonatomic) IBOutlet UILabel *descLbl1;
@property (nonatomic,copy) void (^btnBlock)(NSString *title);
@property (nonatomic, strong)SLLockModel *model;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *listView1Height;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *batteryCenterX;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bgViewHeight;
@property (weak, nonatomic) IBOutlet UIImageView *temptureIcon;

@property (weak, nonatomic) IBOutlet UIImageView *animationView;
@property (nonatomic, strong)LottieAnimationView *animation;
-(void)playAnimation;
-(void)stopPlayAnimation;
@end

NS_ASSUME_NONNULL_END
